%fclose(instrfindall);
clear
clear global
clc
global N Ci Cj1 Cj2 Cj3 Cj4 win obj a count tt tstart
N=0;
Ci(1)=0;
Cj2(1)=0;
win=250;
u=udp('192.168.31.101','RemotePort',3334,'LocalPort',3333);
u.ByteOrder='littleEndian';
u.DatagramReceivedFcn = @udp_callback;
fopen(u);
%fclose(u);